package com.ark.cloud.java.persistence.entity;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 平台销毁事件
 */
@Data
@TableName("destroy_event")
@Builder
@AllArgsConstructor
@NoArgsConstructor

public class DestoryEvent {
//    @TableId(type = IdType.AUTO, value = "id")

    @TableField("id")
    private Long destoryEventId;

    @TableField("timestamp")
    private String timestamp;    //	时间
    @TableField("entity_id")
    private String Id;         // 被销毁的平台ID
}
